package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 海外仓操作日志表
 * </p>
 *
 * @author Wayne
 * @since 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_OPERATE_LOG")
@ApiModel(value="OverseaOperateLog对象", description="海外仓操作日志表")
public class OverseaOperateLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "AUTO_ID_LOG", type = IdType.AUTO)
    private Integer autoIdLog;

    @ApiModelProperty(value = "关联单据号(自增ID或UUID)")
    @TableField("DOCUMENT_NUMBER")
    private String documentNumber;

    @ApiModelProperty(value = "日志内容描述")
    @TableField("LOG_CONTENT")
    private String logContent;

    @ApiModelProperty(value = "日志内容英文描述")
    @TableField("LOG_CONTENT_EN")
    private String logContentEn;

    @ApiModelProperty(value = "日志类型(默认1单据SPMS操作日志;2请求SAP日志;3请求OA日志;)")
    @TableField("LOG_TYPE")
    private String logType;

    @ApiModelProperty(value = "请求参数")
    @TableField("REQUEST_PARAM")
    private String requestParam;

    @ApiModelProperty(value = "返回参数")
    @TableField("RETURNED_MESSAGE")
    private String returnedMessage;

    @ApiModelProperty(value = "备注信息")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "用户工号")
    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;


}
